package com.nuckly.news.data.api

import com.nuckly.news.data.News
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {

    @GET("top-headlines")
    suspend fun fetchNewsFeeds(
        @Query("sources") sources: String = "techcrunch",
        @Query("apiKey") apiKey: String = "ba52a6df0eae40df86db286b0b66ee1f"
    ): Response<ApiResponse<List<News>>>

}